home *** CD-ROM | disk | FTP | other *** search
- Title "Find Position of Object Using Direction from Observers";
- Variable Xo; // X position of observer
- Variable Yo; // Y position of observer
- Variable Dir; // Direction to object (compass degrees)
- Parameter Xp; // X position of object
- Parameter Yp; // Y position of object
- Function abs(tan(90-Dir)*Xp - Yp + Yo - tan(90-dir)*Xo) /
- sqrt(tan(90-dir)^2 + 1);
- Data;
- 1 7 108
- 2 5 064
- 1 2 037
- 3 1 011
- 5 3 341
-